﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace Titul.Help.Models
{
    /// <summary>
    /// Версия ПО
    /// </summary>
    public class Version : Neo4j.DataProvider.Neo4jBaseModel
    {
        public string ProductSeoUrl { get; set; }

        [Display(Name="Номер")]
        [Required]
        public string Number { get; set; }

        [Display(Name = "Описание")]
        [Required]
        [DataType(DataType.MultilineText)]
        [AllowHtml]
        public string Html { get; set; }

        [Display(Name = "Каноническая ссылка")]
        [Required]
        public string SeoUrl { get; set; }
    }
}
